package com.yubest.demo.dto;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;

/**
 * @Author hweiyu
 * @Description
 * @Date 2021/3/1 14:01
 */
@NoArgsConstructor
@Data
@Accessors(chain = true)
public class DemoRespDTO implements Serializable {

    private static final long serialVersionUID = 1019466745376831818L;

    /**
     * e : ["1"]
     * a : 1
     * b : {"c":"c1","d":"d1"}
     */
    private Integer a;
    private BBean b;
    private List<String> e;

    @NoArgsConstructor
    @Data
    @Accessors(chain = true)
    public static class BBean {
        /**
         * c : c1
         * d : d1
         */

        private String c;
        private String d;
    }
}
